package com.jueban.service;

import com.jueban.Vo.UploadFileVo;
import com.jueban.model.ApplyOfIP;
import com.jueban.model.user.User;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

public interface FileService {

    UploadFileVo uploadFile(MultipartFile file);

    File getFileByPath(String path);

    boolean transferInformationFile(ApplyOfIP applyOfIP,User user);

    boolean saveApplyFile(ApplyOfIP applyOfIP,MultipartFile file);

    File getApplyFile(ApplyOfIP applyOfIP);

    boolean saveProxyFile(ApplyOfIP applyOfIP,MultipartFile file);

    File getProxyFile(ApplyOfIP applyOfIP);

    boolean saveAuthorizedFile(ApplyOfIP applyOfIP,MultipartFile file);

    File getAuthorizedFile(ApplyOfIP applyOfIP);
}
